"""
URL configuration for djangoProject3 project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/4.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from app01.views import index
from app01.views import login
from app01.views import article
from app01.views import tiezi
from app01.views import register
from app01.views import novel
from app01.views import edit
from app01.views import game
from app01.views import merch
from app01.views import me
from app01.views import ai

urlpatterns = [
    path('admin/', admin.site.urls),
    path('index/', index.index),
    path('login/', login.login),
    path("article/", article.article),
    path("tiezi/show/", tiezi.tiezi_show),
    path("tiezi/<int:id>/read/", tiezi.tiezi_read),
    path("tiezi/add/", tiezi.tiezi_add),
    path("tiezi/<int:id>/edit/", tiezi.tiezi_edit),
    path("tiezi/delete/", tiezi.tiezi_delete),
    path("register/", register.register),
    path("novel/", novel.novel),
    path("edit/", edit.edit),
    path("article/<int:id>/read/", article.article_read),
    path("article/<int:type>/show/", article.article_show),
    path("article/add/", article.article_add),
    path("article/likes/", article.article_likes),
    path("article/<int:id>/edit/", article.article_edit),
    path("article/delete/", article.article_delete),
    path("novel/<int:id>/read/", novel.novel_read),
    path("novel/<int:type>/show/", novel.novel_show),
    path("game/<int:type>/show/", game.game_show),
    path("game/<int:id>/read/", game.game_read),
    path("merch/<int:type>/show/", merch.merch_show),
    path("merch/<int:id>/read/", merch.merch_read),
    path("me/", me.me),
    path("me/fabu/article/", me.me_fabu_article),
    path("me/fabu/tiezi/", me.me_fabu_tiezi),
    path("me/pl/", me.me_pl),
    path("me/likes/", me.me_like),
    path("me/likes/delete/", me.me_like_delete),
    path("game/score/", game.game_score),
    path("ai/", ai.ai),
    path("tiezi/pl/", tiezi.pl),
    path("article/pl/", article.pl),
    path("me/pl/delete/", me.me_pl_delete),
]
